x86/HVM: limit writes to outgoing TSS during task switch
authorJan Beulich <jbeulich@suse.com>
Wed, 23 Nov 2016 14:26:11 +0000 (15:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 23 Nov 2016 14:26:11 +0000 (15:26 +0100)
commitbac3e8e0f50aaf01eaf064b5201f69759fa87803
treec4911068232976a43983111f0fffbd397650aebe
parentdb153db08846d038a6fd23fee7719dfee5d27ffc
x86/HVM: limit writes to outgoing TSS during task switch

The only fields modified are EIP, EFLAGS, GPRs, and segment selectors.
CR3 in particular is not supposed to be updated.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/hvm.c